package com.ruoyi.project.mall.address.service;

import com.ruoyi.project.mall.address.domain.UmsMemberReceiveAddress;
import java.util.List;

/**
 * 会员收货地址Service接口
 * 
 * @author mallplus
 * @date 2020-03-12
 */
public interface IUmsMemberReceiveAddressService 
{
    /**
     * 查询会员收货地址
     * 
     * @param id 会员收货地址ID
     * @return 会员收货地址
     */
    public UmsMemberReceiveAddress selectUmsMemberReceiveAddressById(Long id);

    /**
     * 查询会员收货地址列表
     * 
     * @param umsMemberReceiveAddress 会员收货地址
     * @return 会员收货地址集合
     */
    public List<UmsMemberReceiveAddress> selectUmsMemberReceiveAddressList(UmsMemberReceiveAddress umsMemberReceiveAddress);

    /**
     * 新增会员收货地址
     * 
     * @param umsMemberReceiveAddress 会员收货地址
     * @return 结果
     */
    public int insertUmsMemberReceiveAddress(UmsMemberReceiveAddress umsMemberReceiveAddress);

    /**
     * 修改会员收货地址
     * 
     * @param umsMemberReceiveAddress 会员收货地址
     * @return 结果
     */
    public int updateUmsMemberReceiveAddress(UmsMemberReceiveAddress umsMemberReceiveAddress);

    /**
     * 批量删除会员收货地址
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteUmsMemberReceiveAddressByIds(String ids);

    /**
     * 删除会员收货地址信息
     * 
     * @param id 会员收货地址ID
     * @return 结果
     */
    public int deleteUmsMemberReceiveAddressById(Long id);
}
